package com.example;

import com.example.config.RedisConfig;
import com.example.config.SpringConfig;
import com.example.quartz.QuzrtzDemo;
import com.example.util.AopUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@Import({AopUtil.class,Swagger.class, QuzrtzDemo.class})
//@Import({SpringConfig.class,AopUtil.class, RedisConfig.class})除非不在扫描范围内或者在依赖jar包里面使用
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}
}
